home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
United Public Domain Gold 2
/
United Public Domain Gold 2.iso
/
business
/
pb051.dms
/
pb051.adf
/
Install
< prev
next >
Wrap
AmigaDOS Script File
|
1993-05-01
|
3KB
|
128 lines
.key destination
.bra {
.ket }
; *** KBE Reminder v1.0ß - Hard Drive Installation Script ***
; *** This program © 1993 KBE Software ***
; *** Written by Damon Bennett ***
"Reminder:c/path" "Reminder:c/" add
Failat 30
If "{Destination}" EQ ""
echo "
KBE Reminder v1.0ß - Hard Drive installation Program Usage ...
"
echo ""
echo "
IMPORTANT:
You must boot from your Hard Drive to run this progam,"
echo "otherwise certain bits of the Catalogue will not be set-up correctly."
Echo ""
Echo "
From Workbench:-
Hold down SHIFT and click once on the INSTALL"
echo "icon, and while still holding down SHIFT, DOUBLE-CLICK the icon"
echo "for the directory you want the Reminder put in."
Echo ""
Echo "
From CLI/Shell:-
Enter the command
Execute Install <Destination>
"
echo "Where <Destination> is where you want the Reminder put."
echo ""
echo ""
echo "
Press the LEFT mouse button when you have read this.
"
waitmouse
skip enditall
endif
echo "
KBE Reminder - Hard Drive installation program ...
"
echo ""
echo "Making Directory for Catalogue files ...."
echo ""
cd "{destination}"
makedir Reminder
copy "Reminder:icons/drawer.info" to Reminder.info
if NOT exists Reminder
echo "
Sorry - Unable to make directory for reminder - Aborting ....
"
wait 5
skip enditall
endif
cd Reminder
echo "Copying Reminder program to Hard Drive ..."
echo ""
copy "Reminder:Reminder" to ""
copy "Reminder:Reminder.info" to ""
if error
skip copyerr
endif
echo "Copying data files ..."
copy "Reminder:#?.Data" to ""
echo "Copying and updating configuration file..."
cd >ram:file2
echo >ram:file1 "KBErmPath" noline
join ram:file1 ram:file2 to s:Reminder.Dat
delete ram:file1 quiet
delete ram:file2 quiet
ask "Do you want the documentation file copied? (Y/N)"
if warn
echo "Copying document ..."
echo ""
copy "Reminder:ReadMe#?" to ""
if error
skip copyerr
endif
if not exists c:ppmore
copy "Reminder:c/ppmore" to c:
echo "PPMore Copied..."
endif
endif
if exists libs:rexxsyslib.library
if exists sys:rexx
copy Reminder:rexx/#? to sys:rexx quiet
else
copy Reminder:rexx/#? to s: quiet
endif
echo "ARexx has been detected on your Hard Drive, to make the"
echo "checking programs run in your Startup-Sequence, please"
echo "read the the document file; 'README'"
echo ""
echo "** Press Left Mouse Button To Continue **"
waitmouse
endif
echo "OK ... The KBE Reminder v1.0ß program (and checking programs)"
echo "is now installed on your hard drive."
echo "To use it, open the new drawer that has been made for it"
echo "on your hard drive, and double click the Reminder icon"
echo " "
echo "There is no other things that need doing, even your"
echo "Startup-Sequence doesn't need changing, unless you"
echo "wish to have the checking programs run automatically."
echo " "
echo " "
echo "
Press LEFT mouse button when ready ...
"
waitmouse
skip enditall
lab copyerr
echo "
Error - Unable to copy required files - Deleting Direcory and aborting.
"
cd {destination}
if exists Reminder
delete >nil: Reminder all
endif
if exists Reminder.info
delete >nil: Reminder.info
endif
lab enditall
Echo "
KBE Reminder v1.0ß -
© 1993 KBE Software
"
path "Reminder:c/" remove